import request from "../request";

// 获取数据,pageSize为每页总数，pageNum为从第几页开始
const getMockData = (pageSize, pageNum) => {
  return request({
    url: `/posts?_page=${pageNum}&_limit=${pageSize}`,
    method: "get",
  });
};

export { getMockData };
